package com.kcwl.carrier.domain.repository;

import com.kcwl.carrier.domain.entity.CarrierBlacklist;
import com.kcwl.carrier.domain.condition.CarrierBlacklistPageCondition;
import com.kcwl.carrier.infrastructure.repository.po.CarrierBlacklistPO;
import com.kcwl.ddd.domain.entity.KcPage;
import com.kcwl.ddd.domain.repository.IBaseRepository;

import java.util.List;

/**
 * @author 刘旭超
 * @date 2022年11月21日 17:09
 * @Description
 */
public interface ICarrierBlacklistRepository extends IBaseRepository<CarrierBlacklistPO> {

    KcPage<CarrierBlacklist> queryPageList(CarrierBlacklistPageCondition condition);

    /**
     * 添加黑名单
     */
    void addBlacklist(CarrierBlacklist command);
}
